package com.tencent.wuyanzu.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.tencent.wuyanzu.dao.BaseDao;
import com.tencent.wuyanzu.dao.FoodDao;
import com.tencent.wuyanzu.model.Food;

@Repository
public class FoodDaoImpl implements FoodDao{
	
	@Autowired
	private BaseDao baseDao;

	@Override
	public List<Food> getAllFood() {
		return baseDao.getAllValues(Food.class);
	}
	
	
}
